# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Doug Newgard <scimmia at archlinux dot info>

pkgname=python-owslib
pkgver=0.29.2
pkgrel=1
pkgdesc='Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models'
arch=(any)
url='https://geopython.github.io/OWSLib/'
license=(BSD)
depends=(python-dateutil python-pyproj python-pytz python-requests)
makedepends=(python-setuptools)
source=(https://github.com/geopython/OWSLib/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('a1186cf773391a03793f873cfc01288010d6c0ae5f5bf11fb03aadbdbf690684')

package() {
  cd OWSLib-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
